<?php
class Product_Service_PackageMap
{
	public function __construct(){
		
	}

	public static function getAllByProductId($productId){
		$packagemapService = new Product_Model_PackageMap();
		$packagesmap = $packagemapService->getByProductId($productId);
		
		if($packagesmap instanceof Zend_Db_Table_Row){
			
			return $packagesmap->toArray();
		}
		return false;
	}
		
	public static function getByValue($value,$field){
		$Obj = new Product_Model_PackageMap();
		return $Obj->getByValue($value,$field);	
	}
	

		

}